package com.postads.model;

/**
 * 
 * User Entity
 * 
 * @author sa.ramesh@gmail.com
 * @since 11 May 2012
 * @version 1.0.0
 *
 */
public class Ad {
	private int id;
	private String title;
	private String description;

	public Ad(int id, String title, String description) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		StringBuffer strBuff = new StringBuffer();
		strBuff.append("id : ").append(getId());
		strBuff.append(", title : ").append(getTitle());
		strBuff.append(", description : ").append(getDescription());
		return strBuff.toString();
	}
}
